<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
    <h3>差值表达式</h3>
    <p>{{msg}}</p>
    <h3>v-text</h3>
    <div v-text="msg"></div>
    <h3>v-model</h3>
    <input type="text" v-model="msg">
</div>
<script src="./js/dep.js"></script>
<script src="./js/watcher.js"></script>
<script src="./js/compiler.js"></script>
<script src="./js/observer.js"></script>
<script src="./js/vue.js"></script>
<script>
    let vm = new Vue({
        el: '#app',
        data: {
            msg: 'Hello World',
            count: 10,
            person: {
                name: 'hello'
            }
        }
    })
</script>
</body>
</html>
